
import React, { Component } from "react";
import store from './store/index'

import './page2.scss'

export default class Page2 extends Component {



    render() {

        const proList = store.getState().pro.proList

        return <>
            <h1 className="page2">Page2</h1>

            <ol>
                {proList && proList.map((item) => {
                    return <li key={item.proid}>{item.proname}</li>
                })}
            </ol>

        </>
    }
}